package tt.dz.entity.system;

import java.io.Serializable;
import java.util.Date;

import tt.dz.util.annotation.Ignore;
import tt.dz.util.annotation.PrimaryKey;
import tt.dz.util.annotation.Table;

/**
 * 角色
 * <p>
 * 修改时间：2015年12月16日
 * <p>
 * 修改人：谢龙飞
 * <p>
 * 修改内容：添加注释，主键注解，实现序列化接口，实体类注释
 */

@Table(name = "oms_role")
public class OmsRole implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 由业务规则按一定规律生成 */
	@PrimaryKey
	private String role_id;
	/** 角色名 */
	private String role_name;
	/** 0：独立存在；1：运营商；2：运营商分支机构；3：厂商。 */
	private Integer entity_type;
	/** 所属实体id */
	private String entity_id;
	/** 所属实体名称 */
	private String entity_name;
	/** 记录时间 */
	private Date create_time;
	/** 创建人id */
	private String create_oper_id;
	/** 更新时间 */
	private Date update_time;
	private String update_oper_id;

	private Integer valid_flag;
	@Ignore
	private String[] urlIds;

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getRole_id() {
		return role_id;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setEntity_type(Integer entity_type) {
		this.entity_type = entity_type;
	}

	public Integer getEntity_type() {
		return entity_type;
	}

	public void setEntity_id(String entity_id) {
		this.entity_id = entity_id;
	}

	public String getEntity_id() {
		return entity_id;
	}

	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}

	public Integer getValid_flag() {
		return valid_flag;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}

	public String getCreate_oper_id() {
		return create_oper_id;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}

	public String getUpdate_oper_id() {
		return update_oper_id;
	}

	public String[] getUrlIds() {
		return urlIds;
	}

	public void setUrlIds(String[] urlIds) {
		this.urlIds = urlIds;
	}

	public String getEntity_name() {
		return entity_name;
	}

	public void setEntity_name(String entity_name) {
		this.entity_name = entity_name;
	}
	
	
}
